package com.core.workflow;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
public class TaskVo implements Serializable {
    private String category;
    private String owner;
    private String delegationState;
    private String id;
    private String taskDefinitionKey;
    private String name;
    private String assignee;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String processInstanceId;
    private String claimTime;
    private String processInstanceName;
    private String startUserId;
    private String processDefinitionId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
}
